
package com.weng.bigdata.core.jdbc.model.meta;

import lombok.Data;

/**
* 简单的列元数据信息，包括名称，类型，注释
* @author wengzhonghui
* @date: 2021-07-12 16:34:08
*/
@Data
public class SimpleColumnMeta {
    private String name;
    private String type;
    private String remark;

    public SimpleColumnMeta(String name, String type) {
        this.name = name;
        this.type = type.toUpperCase();
    }

    public SimpleColumnMeta(String name, String type, String remark) {
        this.name = name;
        this.type = type;
        this.remark = remark;
    }
}
